package gao.xiaolei.dto;

import java.time.LocalDateTime;

import lombok.Data;

@Data
public class TestCheckDto {//用于给测试审核列表储存数据的外输Dto

	private String id;// 审核记录Id

	private String targetName;// 审核对象名称

	private String targetId;// 审核对象id

	private String result;// 审核结果

	private LocalDateTime checkDate;// 审核的时间

	private String parentId;//父需求Id

	private Integer leaf;//判断是否是叶子节点

	private String folderPath;//储存节点所属的文件夹路径

	public TestCheckDto(String id, String targetName, String result, LocalDateTime checkDate, String parentId, Integer leaf) {
		this.id = id;
		this.targetName = targetName;
		this.result = result;
		this.checkDate = checkDate;
		this.parentId = parentId;
		this.leaf = leaf;
	}

	public TestCheckDto(String id, String targetName,String targetId,
						String result, LocalDateTime checkDate,String folderPath) {
		super();
		this.id = id;
		this.targetName = targetName;
		this.targetId=targetId;
		this.result = result;
		this.checkDate = checkDate;
		this.folderPath=folderPath;
	}

	public TestCheckDto() {
		super();
	}

	public TestCheckDto(String id,String targetName, String targetId,String result, LocalDateTime checkDate, String parentId, Integer leaf) {
		super();
		this.id = id;
		this.targetName = targetName;
		this.targetId=targetId;
		this.result = result;
		this.checkDate = checkDate;
		this.parentId = parentId;
		this.leaf = leaf;
	}
}
